home *** CD-ROM | disk | FTP | other *** search
- Hi,
-
- I am writing a communication program using winsock for a groupware
- project, basicly it is a whiteboard(shared working place) program,
- all the client send their message to a server.
- I have a flooding problem. Whenever 2 or more client send their
- message to the server at same time, server has trouble to handle
- them, either some data is lost or server crash totally.
- Does winsock has some ways to handle this situation(queuing or
- resending?).
- I am running under dos 6.0, window NT, Trumpet winsock, using
- Visual Basic 3.0, VTSOCKET as custom control to the winsock.
- Any suggestion?
- Please email me at clj@astro.ocis.temple.edu. Much thanks in advance.
-
- __ Lee
-
-
- From news@bigblue.oit.unc.edu Tue Apr 19 03:59:12 1994
- Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
- id AA22650; Wed, 20 Apr 1994 01:14:02 -0400
- Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
- id AA11208; Wed, 20 Apr 1994 00:00:55 -0500
- Received: from GATEWAY by bigblue with netnews
- for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
- To: winsock@sunsite.unc.edu
- Date: Tue, 19 Apr 1994 03:59:12 GMT
- From: jones@cbdb1.nimh.nih.gov (Doug Jones)
- Message-Id: <jones.17.0016FD4A@cbdb1.nimh.nih.gov>
- Organization: CBDB/NIMH/NIH
- Sender: ses
- Subject: RE: G .Rosin QVT dispatch=
-
- Gary
- I tried to answer by e-mail, but it bounced back as undeliverable:
-
- >Thanks, I'd try it if I knew what to change it to. What does the "dispatch"
- >setting do?
- >
- > ---
- >Gary Rosin
- >grosin@sugar.neosoft.com
- >
- I'm sorry, I'd posted a couple of time about this before, and picked
- it up from someone else's post - so I got too brief.
- According to QVT's docs, there are 2 choices for "dispatch=":
- "dispatch=sync" use "polling" for its i/o, and "dispatch=async"
- uses "interrupts". I'm not expert enough to know the details of
- this beyond their docs. They (QVT) indicate that "sync" might be more
- effcient for some winsock's. Someone else posted on alt.winsock
- that choosing "async" solved their "comm" error problems. I tried
- it, and it worked for me, too. Others to whom I have passed on this
- tip have also reported success.
- Good Luck
- Doug
- jones@cbdb1.nimh.nih.gov
-
-